package com.csun.cmny.provider.service;

import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.OmcPointCardAccount;
import com.csun.cmny.provider.model.dto.PointCardAccountDto;
import com.csun.cmny.provider.model.dto.PointCardAccountQueryDto;
import com.csun.cmny.provider.model.vo.PointCardAccountVO;

import java.util.List;

public interface OmcPointCardAccountService extends IService<OmcPointCardAccount> {

    /*
    * 查询列表
    * */
    List<PointCardAccountVO> listPointCardAccount(PointCardAccountQueryDto dto);

    /*
    * 创建一卡通账户
    * */
    int addPointCardAccount(PointCardAccountDto dto);

    /*
    * 冻结
    * */
    int freeze(Long deviceId);

    /*
     * 解冻
     * */
    int unfreeze(Long deviceId);

    /*
     * 退卡
     * */
    int refund(Long deviceId);
}
